package com.jiangyg.mall.product.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.jiangyg.mall.product.dto.AttrDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 类描述：属性分组
 *
 * @author jiangyg
 * @email email@jiangyg.com
 * @date 2021-10-30 07:38:50
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AttrgroupVO implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 分组id
	 */
	private String id;

	/**
	 * 组名
	 */
	private String name;

	/**
	 * 排序
	 */
	private Integer sort;

	/**
	 * 组图标
	 */
	private String icon;

	/**
	 * 描述
	 */
	private String desct;

	/**
	 * 所属分类id
	 */
	private String categoryId;

	/**
	 * 属性列表
	 */
	private List<AttrDTO> attrs;

}
